package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.OfficeBuildingSale;

/**
 * 写字楼出售Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-12
 */
public interface OfficeBuildingSaleMapper 
{
    /**
     * 查询写字楼出售
     * 
     * @param id 写字楼出售主键
     * @return 写字楼出售
     */
    public OfficeBuildingSale selectOfficeBuildingSaleById(Long id);

    /**
     * 查询写字楼出售列表
     * 
     * @param officeBuildingSale 写字楼出售
     * @return 写字楼出售集合
     */
    public List<OfficeBuildingSale> selectOfficeBuildingSaleList(OfficeBuildingSale officeBuildingSale);

    /**
     * 新增写字楼出售
     * 
     * @param officeBuildingSale 写字楼出售
     * @return 结果
     */
    public int insertOfficeBuildingSale(OfficeBuildingSale officeBuildingSale);

    /**
     * 修改写字楼出售
     * 
     * @param officeBuildingSale 写字楼出售
     * @return 结果
     */
    public int updateOfficeBuildingSale(OfficeBuildingSale officeBuildingSale);

    /**
     * 删除写字楼出售
     * 
     * @param id 写字楼出售主键
     * @return 结果
     */
    public int deleteOfficeBuildingSaleById(Long id);

    /**
     * 批量删除写字楼出售
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOfficeBuildingSaleByIds(Long[] ids);
}
